package com.more.offer.util;

import net.coobird.thumbnailator.geometry.Position;

import java.awt.*;

/**
 * @author pinoc
 * @date 2023/6/20
 */
public class CustomPosition implements Position {
	public int x;
	public int y;

	public CustomPosition(int x, int y){
		this.x = x;
		this.y = y;
	}

	@Override
	public Point calculate(int enclosingWidth, int enclosingHeight, int width, int height, int insetLeft, int insetRight, int insetTop, int insetBottom) {
		return new Point(x,y);
	}
}
